# FILE: PriceTtag.py
# DESC: Encapsulates price tag entity
#

from WebEntity import WebEntity
from infra.logging import logger

class PriceTag(WebEntity):

	def __init__(self, currency, amount):
		self.currency_ = currency 
		self.amount_ = amount 
		log = logger.getLogger()
		log.debug("%s = %s" % (self, self.__dict__))


	def toString(self):
		return self.currency_.toString() + " " + self.amount_.toString()
		

	def dump(self):
		return self.__dict__
